package me.linczh.bank.bean;

import java.io.Serializable;
import java.util.Date;

import me.linczh.bank.bean.enums.AccountType;
import me.linczh.bank.bean.enums.DepositType;

@SuppressWarnings("serial")
public class AccountBean implements Serializable {
	private String account;
	private String password;
	private String username;
	private String identity;
	private double balance;
	private boolean frozen;
	private AccountType accounttype;	// 0: personal common | 1: personal vip | 2: enterprise
	private DepositType deposittype;	// 0: checking account | 1: saving account
	private Date createtime;
	
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getIdentity() {
		return identity;
	}
	public void setIdentity(String identity) {
		this.identity = identity;
	}
	public double getBalance() {
		return balance;
	}
	public void setBalance(double balance) {
		this.balance = balance;
	}
	public boolean getFrozen() {
		return frozen;
	}
	public void setFrozen(boolean frozen) {
		this.frozen = frozen;
	}
	public AccountType getAccounttype() {
		return accounttype;
	}
	public void setAccounttype(AccountType accounttype) {
		this.accounttype = accounttype;
	}
	public DepositType getDeposittype() {
		return deposittype;
	}
	public void setDeposittype(DepositType deposittype) {
		this.deposittype = deposittype;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	
}
